package com.atguigu.springcloud.extend;

import java.util.Map;

public interface ICacheHashOneDay {


    public final static int TIME = 60 * 24 * 60;


    public void put(String key, String keyHash, Object value);


    public void put(String key, String keyHash, Object value, int day);

    public Object get(String key, String keyHash);

    public <T> T get(String key, String keyHash, Class<T> clazz);

    public void remove(String key, String keyHash);

    public Map<String, Object> getAll(String key);
}
